using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._DataManagementTools._LASDataset
{
    /// <summary>
    /// <para>Remove Files From LAS Dataset</para>
    /// <para>Removes one or more LAS files and surface constraint features from a LAS dataset.</para>
    /// <para>从 LAS 数据集中移除一个或多个 LAS 文件和曲面约束要素。</para>
    /// </summary>    
    [DisplayName("Remove Files From LAS Dataset")]
    public class RemoveFilesFromLasDataset : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public RemoveFilesFromLasDataset()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_las_dataset">
        /// <para>Input LAS Dataset</para>
        /// <para>The LAS dataset to process.</para>
        /// <para>要处理的 LAS 数据集。</para>
        /// </param>
        public RemoveFilesFromLasDataset(object _in_las_dataset)
        {
            this._in_las_dataset = _in_las_dataset;
        }
        public override string ToolboxName => "Data Management Tools";

        public override string ToolName => "Remove Files From LAS Dataset";

        public override string CallName => "management.RemoveFilesFromLasDataset";

        public override List<string> AcceptEnvironments => ["workspace"];

        public override object[] ParameterInfo => [_in_las_dataset, _in_files, _in_surface_constraints, _derived_las_dataset, _delete_pyramid.GetGPValue()];

        /// <summary>
        /// <para>Input LAS Dataset</para>
        /// <para>The LAS dataset to process.</para>
        /// <para>要处理的 LAS 数据集。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input LAS Dataset")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_las_dataset { get; set; }


        /// <summary>
        /// <para>LAS Files or Folders</para>
        /// <para>The name of the LAS files or folders containing LAS files whose reference will be removed from the LAS dataset.</para>
        /// <para>包含 LAS 文件的 LAS 文件或文件夹的名称，其引用将从 LAS 数据集中移除。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("LAS Files or Folders")]
        [Description("")]
        [Option(OptionTypeEnum.optional)]
        public List<object> _in_files { get; set; } = null;


        /// <summary>
        /// <para>Surface Constraints</para>
        /// <para>The name of the surface constraint features that will be removed from the LAS dataset.</para>
        /// <para>将从 LAS 数据集中移除的表面约束要素的名称。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Surface Constraints")]
        [Description("")]
        [Option(OptionTypeEnum.optional)]
        public List<object> _in_surface_constraints { get; set; } = null;


        /// <summary>
        /// <para>Updated LAS Dataset</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Updated LAS Dataset")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _derived_las_dataset { get; set; }


        /// <summary>
        /// <para>Delete Pyramid</para>
        /// <para><xdoc>
        ///   <para>Specifies whether the LAS dataset's display pyramid will be deleted.</para>
        ///   <bulletList>
        ///     <bullet_item>Checked—The LAS dataset's display pyramid will be deleted.</bullet_item><para/>
        ///     <bullet_item>Unchecked—The LAS dataset's display pyramid will not be deleted. This is the default.</bullet_item><para/>
        ///   </bulletList>
        /// </xdoc></para>
        /// <para><xdoc>
        ///   <para>指定是否删除 LAS 数据集的显示金字塔。</para>
        ///   <bulletList>
        ///     <bullet_item>选中—将删除 LAS 数据集的显示金字塔。</bullet_item><para/>
        ///     <bullet_item>未选中—不会删除 LAS 数据集的显示金字塔。这是默认设置。</bullet_item><para/>
        ///   </bulletList>
        /// </xdoc></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Delete Pyramid")]
        [Description("")]
        [Option(OptionTypeEnum.optional)]
        public _delete_pyramid_value _delete_pyramid { get; set; } = _delete_pyramid_value._false;

        public enum _delete_pyramid_value
        {
            /// <summary>
            /// <para>DELETE_PYRAMID</para>
            /// <para></para>
            /// <para></para>
            /// </summary>
            [Description("DELETE_PYRAMID")]
            [GPEnumValue("true")]
            _true,

            /// <summary>
            /// <para>NO_DELETE_PYRAMID</para>
            /// <para></para>
            /// <para></para>
            /// </summary>
            [Description("NO_DELETE_PYRAMID")]
            [GPEnumValue("false")]
            _false,

        }

        public RemoveFilesFromLasDataset SetEnv(object workspace = null)
        {
            base.SetEnv(workspace: workspace);
            return this;
        }

    }

}